#ifndef FOCUS_EVENT_H
#define FOCUS_EVENT_H

#include <QtCore/QEvent>

namespace gui
{

class FocusEvent : public QEvent
{
public:
    FocusEvent(bool focusIn = true);
    ~FocusEvent();

    bool focusIn() const;
    bool focusOut() const;

    static QEvent::Type type();

private:
    bool m_focusIn;
    static QEvent::Type customEventType;
};

} // namespace gui

#endif
